package org.example.projecttwo.entity.dto.statistics;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(name = "AdjustUserPointsDTO", description = "调整用户积分DTO")
public class AdjustUserPointsDTO {

    @Schema(description = "用户ID")
    @NotNull(message = "用户ID不能为空")
    private Long id;

    @Schema(description = "调整类型 1-增加 2-减少")
    @NotNull(message = "调整类型不能为空")
    private Integer type;

    @Schema(description = "调整值")
    @NotNull(message = "调整值不能为空")
    private Integer value;
}